-
Notifications
You must be signed in to change notification settings - Fork 619
[TOOL-3009] Dashboard: Support all valid domains as ENS name and not just .eth #5937
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
🦋 Changeset detectedLatest commit: 0e2b3df The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
size-limit report 📦
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5937 +/- ##
==========================================
+ Coverage 54.83% 54.85% +0.02%
==========================================
Files 1141 1142 +1
Lines 60903 60928 +25
Branches 5128 5140 +12
==========================================
+ Hits 33394 33424 +30
+ Misses 26782 26777 -5
Partials 727 727
*This pull request uses carry forward flags. Click here to find out more.
|
Merge activity
|
…just .eth (#5937) <!-- start pr-codex --> ## PR-Codex overview This PR introduces the `isValidENSName` utility function to validate ENS names, replacing the previous `isEnsName` checks across multiple files. It refines address validation and enhances the overall handling of ENS names within the codebase. ### Detailed summary - Added `isValidENSName` utility function for ENS name validation. - Replaced occurrences of `isEnsName` with `isValidENSName` in various files. - Updated validation logic in components and utilities to improve address and ENS name handling. - Enhanced error messages and conditions related to ENS name checks. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->

PR-Codex overview
This PR introduces the
isValidENSNameutility function to validate ENS names across the codebase. It replaces instances ofisEnsNamewithisValidENSNameto ensure consistent validation and enhances various components and utilities to support this change.Detailed summary
isValidENSNamefunction for ENS name validation.isEnsNamewithisValidENSNamein multiple files.validateAddress,resolveAddressAndEns, and others.isValidENSNamefor ENS name checks.isValidENSNameto ensure correct functionality.